inherited FrmRelVendasPorFormaPagamento: TFrmRelVendasPorFormaPagamento
  Left = 445
  Top = 351
  Caption = 'Relat'#243'rio de Sa'#237'das - Vendas Por Forma de Pagamento'
  ClientHeight = 297
  PixelsPerInch = 96
  TextHeight = 13
  inherited pnlOpcoes: TPanel
    Height = 212
    object Label7: TLabel [7]
      Left = 16
      Top = 160
      Width = 101
      Height = 13
      Caption = 'Forma de Pagamento'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -11
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    inherited EdtEstEmpCod: TEdit
      Hint = 'C'#243'digo da empresa'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtDataInicial: TEdit
      Hint = 'Data inicial'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtDataFinal: TEdit
      Hint = 'Data final'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtVendedorCod: TEdit
      Hint = 'C'#243'digo do vendedor'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtCaixa: TEdit
      Hint = 'N'#250'mero do caixa'
      ParentShowHint = False
      ShowHint = True
      TabOrder = 8
    end
    inherited EdtUsuarioCod: TEdit
      Hint = 'C'#243'digo do usu'#225'rio'
      ParentShowHint = False
      ShowHint = True
      TabOrder = 11
    end
    inherited BtnEmpresa: TBitBtn
      Left = 72
      Hint = 'Buscar'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtEstEmpNom: TStaticText
      TabOrder = 12
    end
    inherited BtnVendedor: TBitBtn
      Left = 240
      Hint = 'Buscar'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtVendedorNome: TStaticText
      TabOrder = 7
    end
    inherited CB_TipoRel: TComboBox
      Hint = 'Situa'#231#227'o dos itens'
      ParentShowHint = False
      ShowHint = True
      TabOrder = 9
    end
    inherited BtnUsuario: TBitBtn
      Left = 240
      Hint = 'Buscar'
      ParentShowHint = False
      ShowHint = True
    end
    inherited EdtUsuarioNome: TStaticText
      TabOrder = 16
    end
    object btnFormaPagamento: TBitBtn
      Left = 72
      Top = 176
      Width = 21
      Height = 21
      Hint = 'Buscar'
      Caption = '...'
      ParentShowHint = False
      ShowHint = True
      TabOrder = 14
      TabStop = False
      OnClick = btnFormaPagamentoClick
    end
    object stFormaPagamento: TStaticText
      Left = 96
      Top = 176
      Width = 337
      Height = 21
      AutoSize = False
      BorderStyle = sbsSingle
      TabOrder = 15
    end
    object edtFormaPagamento: TEdit
      Left = 16
      Top = 176
      Width = 49
      Height = 21
      Hint = 'Forma de pagamento'
      ParentShowHint = False
      ShowHint = True
      TabOrder = 13
      OnExit = edtFormaPagamentoExit
    end
  end
  inherited pnlBotoes: TPanel
    Top = 253
    inherited BtnSair: TBitBtn
      TabOrder = 3
    end
    inherited BtnGerarPlanilha: TBitBtn
      TabOrder = 2
    end
  end
  inherited pnlCabecalho: TPanel
    Caption = 'Vendas Por Forma de Pagamento'
  end
  inherited sql_dataset_principal: TSQLClientDataSet
    CommandText = 
      'select'#13#10'  formaspagamento.fpg_codigo,'#13#10'  formaspagamento.fpg_nom' +
      'e,'#13#10'  saida_documento.sad_datave,'#13#10'  saida_documento.sad_docume,' +
      #13#10'  saida_documento.sad_orcame,'#13#10'  usuarios.usu_codigo,'#13#10'  usuar' +
      'ios.usu_nome,'#13#10'  pessoas.pes_nome,'#13#10'  saida_forma.saf_seqforma,'#13 +
      #10'  saida_forma.saf_valor'#13#10'from saida_documento'#13#10#13#10'inner join usu' +
      'arios'#13#10'on usuarios.usu_codigo = saida_documento.sad_codven'#13#10#13#10'in' +
      'ner join pessoas'#13#10'on pessoas.pes_idfcod = saida_documento.sad_co' +
      'dcli'#13#10#13#10'inner join saida_forma'#13#10'on saida_forma.saf_idfdoc = said' +
      'a_documento.sad_idfdoc'#13#10#13#10'inner join formaspagamento'#13#10'on formasp' +
      'agamento.fpg_codigo = saida_forma.saf_codforma'#13#10#13#10'order by'#13#10'  fo' +
      'rmaspagamento.fpg_nome,'#13#10'  saida_documento.sad_datave,'#13#10'  saida_' +
      'documento.sad_docume;'
    Left = 72
    object sql_dataset_principalFPG_CODIGO: TSmallintField
      Alignment = taLeftJustify
      FieldName = 'FPG_CODIGO'
      Required = True
    end
    object sql_dataset_principalFPG_NOME: TStringField
      FieldName = 'FPG_NOME'
      Required = True
      Size = 40
    end
    object sql_dataset_principalSAD_DATAVE: TDateField
      FieldName = 'SAD_DATAVE'
      Required = True
    end
    object sql_dataset_principalSAD_DOCUME: TStringField
      FieldName = 'SAD_DOCUME'
      Required = True
      Size = 13
    end
    object sql_dataset_principalSAD_ORCAME: TStringField
      FieldName = 'SAD_ORCAME'
      Size = 13
    end
    object sql_dataset_principalUSU_CODIGO: TStringField
      FieldName = 'USU_CODIGO'
      Required = True
      Size = 3
    end
    object sql_dataset_principalUSU_NOME: TStringField
      FieldName = 'USU_NOME'
      Required = True
      Size = 60
    end
    object sql_dataset_principalPES_NOME: TStringField
      FieldName = 'PES_NOME'
      Required = True
      Size = 60
    end
    object sql_dataset_principalSAF_SEQFORMA: TSmallintField
      Alignment = taLeftJustify
      FieldName = 'SAF_SEQFORMA'
      Required = True
    end
    object sql_dataset_principalSAF_VALOR: TFMTBCDField
      FieldName = 'SAF_VALOR'
      Required = True
      Precision = 15
      Size = 3
    end
  end
  inherited rds_dataset_principal: TRvDataSetConnection
    Left = 8
  end
  inherited RvRenderPDF1: TRvRenderPDF
    Left = 352
  end
  inherited SaveDialog1: TSaveDialog
    Left = 376
  end
  inherited RvSystemPDF: TRvSystem
    Left = 408
    Top = 9
  end
  object sqlc_FormaPagamento: TSQLClientDataSet
    CommandText = 
      'select fpg_codigo, fpg_nome from formaspagamento order by fpg_no' +
      'me;'
    Aggregates = <>
    Options = [poAllowCommandText]
    ObjectView = True
    Params = <>
    DBConnection = DtmGeral.ConexaoBanco
    Left = 176
    Top = 41
    object sqlc_FormaPagamentoFPG_CODIGO: TSmallintField
      FieldName = 'FPG_CODIGO'
      Required = True
    end
    object sqlc_FormaPagamentoFPG_NOME: TStringField
      FieldName = 'FPG_NOME'
      Required = True
      Size = 40
    end
  end
  object Rvds_FormaPagamento: TRvDataSetConnection
    RuntimeVisibility = rtDeveloper
    OnOpen = Rvds_FormaPagamentoOpen
    DataSet = sqlc_FormaPagamento
    Left = 208
    Top = 41
  end
end
